$(function () {
    findAll();
});

function findAll() {
    let result = myAjax("/back/cuisine/findAll", {}, "get");

    setData(result.list);
}

function setData(data) {
    let html = '';
    for (let i = 0; i < data.length; i++) {
        html += '<option value="' + data[i].id + '">' + data[i].name + '</option>';
    }
    console.log($("#cuisine"))
    $("#cuisine").html(html);
}